package inventory.service;

import inventory.common.ResultData;
import inventory.entity.Role;
import com.baomidou.mybatisplus.service.IService;
import inventory.entity.po.RolePo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sxt
 * @since 2019-11-06
 */
public interface RoleService extends IService<Role> {

    ResultData getSubRolesByManagerId(String managerId);

    ResultData addSubCountyRoleAndSubCountyRepositoryByCityRoleId(String cityRoleId, String role);

    ResultData deleteCountyRoleAndCountyRepositoryByCountyRoleId(String countyRoleId);

    ResultData updateRoleByCountyRoleId(String countyRoleId,String role);
}
